//
//  AEPersonViewModel.h
//  AESOLAR_IOS
//
//  Created by Bin Tang on 2024/10/12.
//  Copyright © 2024 Mr.Wang. All rights reserved.
//

#import "TYZBaseViewModel.h"
#import "AEUserInfoRequest.h" // 获取用户信息
#import "AEUserLogoutRequest.h" // 退出登录
#import "AESysConfigRequest.h" // 得到配置信息
#import "AEAccountShareRequest.h" // 分享成功后调用的接口

NS_ASSUME_NONNULL_BEGIN

@interface AEPersonViewModel : TYZBaseViewModel

/// 我的积分
@property (nonatomic, copy) NSString *myBonus;

/// 当前等级
@property (nonatomic, copy) NSString *currentLevel;

/// 分享领积分
@property (nonatomic, copy) NSString *shareBonus;

/// 反馈
@property (nonatomic, copy) NSString *feedback;

/// 用户信息
@property (nonatomic, strong) AEUserInfoModel *userInfoModel;

/// 配置信息
@property (nonatomic, strong) AESysConfigModel *configModel;


/// 获取用户信息
/// - Parameter completion: completion description
- (void)requestWithUserInfo:(RequestCompletionBlock)completion;

/// 退出登录
/// - Parameter completion: completion description
- (void)requestWithLogout:(RequestCompletionBlock)completion;

/// 得到配置信息
/// - Parameter completion: completion description
- (void)requestWithSysConfig:(RequestCompletionBlock)completion;

/// 分享成功后调用的接口
/// - Parameter completion: completion description
- (void)requestWithShareSuccess:(RequestCompletionBlock)completion;

@end

NS_ASSUME_NONNULL_END
